﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net;

namespace Bittorrent.Client.Tracker {
    public interface IPeer {
        /// <summary>
        /// The peer's self-selected ID (in compact mode this string is empty).
        /// </summary>
        string PeerId { get; }
        /// <summary>
        /// Connection EndPoint (IPAddress and port) for the peer.
        /// </summary>
        IPEndPoint PeerEndPoint { get; }
    }
}
